// eslint-disable-next-line no-unused-vars
import { get, post, postJSON, uploadFile } from '@/utils/request';

// 接口前缀
const preixURL = '/app_eoenserver';

// 百度登录 获取sessionKey
export function getBaiduSessionKey(params) {
  return post(`${preixURL}/AppBaiDuImpl/getSeesionKey`, params, {
    alwaysSuccess: true
  });
}

// 百度登录
export function getBaiduLoginInfo(params) {
  return post(`${preixURL}/AppBaiDuImpl/check`, params);
}

// 支付宝 登录 获取用户信息接口
export function getAlipayLoginInfo(params) {
  return post(`${preixURL}/UserAppImpl/login`, params);
}
